import { Request, Response } from "express";
import { mock } from 'mockjs';

export default {
  "/employee/123": {
    name: 'eric wang',
    age: 31
  },
  "POST /employee/111": function(req: Request, res: Response) {
    res.json({
      name: 'wxg',
      age: 31
    })
  },
  "GET /employee/": mock({
    "string|2": 'eee'
  })
}